Description: As a first step of Metered Service Bill Segment calculation, CC&B determines consumption to be billed. The system first determines the prorated Bill Period boundary. The end date is either the end date of Bill cycle schedule window, the Service Agreement's end date, or, determined by the CSR or Authorized User for manual Billing. If this is the first Bill Segment for the Service Agreement, the Bill Segment start date is set to the start date of the Service Agreement; otherwise the start date is the previous Bill Segment's end date. The system next determines the Consumption Period boundary, and retrieves appropriate Service Point, Meter, and associated Meter Reads. Meter Reads determine the start and end date for the Bill Segment Consumption Period.
Note: The system ignores Service Points that are not billable, disconnected before the Bill period started, or are yet to be connected as of the Bill end date.
Note: Every SA type defines the minimum number of days on a Bill Segment. Whenever the system attempts to create a Bill Segment other than the final Bill Segment, it checks if the number of days is at least as great as the minimum defined on the SA type. If the minimum number of days is not met, the Bill Segment will not be created at this time. The system waits until the number of days in the Bill Segment is at least as large as the minimum and the account's Bill cycle must be open.